#ifndef _TESTOPT_H_
#define _TESTOPT_H_
#include <imp/imp_audio.h>

#define NAME_BUF_SIZE 1024
#define MAX_FILE_NAME_LEN 256 /*max len of file name*/

#define MAX_DIR_PATH_LEN 1024
#define MAX_ELF_NAME_LEN 256

typedef enum {
	adpcm = 0,
	g711a = 1,
	g711u = 2,
	g726  = 3,
} ENC_TYPE;

typedef struct {
    /*file Name*/
	char *inFileName;
	char *outFileName;
	char *refFileName;
	char *playFileName;

	int sampleRate;
	int frmNum;
	int numPerFrm;
	int num;
	int vol;
	int gain;
	int nsMode;
	int hpfFlag;   /*flag of enable hpf,0:disable,1:enable*/
	IMPAudioAgcConfig agcConfig;  /*Agc param*/
	int aoDevId;  /*device ID of aec output*/
	int aoChn;    /*channel ID of aec output*/

	ENC_TYPE type;  //enc or denc type(adpcm/g711u/g711a/g726)

}TEST_ARGS;  //For Save the test args

int getCurrentElfPathName(char* processdir,char* processname,int pathLen);

int show_helpInfo();

int parse_param(int argc,char **argv);

#endif

